Subtyping and Locality in Distributed Higher Order Processes
نویسنده
چکیده
This paper studies one important aspect of distributed systems, locality, using a calculus of distributed higher-order processes in which not only basic values or channels, but also parameterised processes are transferred across distinct locations. An integration of the subtyping of λ-calculus and IO-subtyping of the π-calculus offers a tractable tool to control the locality of channel names in the presence of distributed higher order processes. Using a local restriction on channel capabilities together with a subtyping relation, locality is preserved during reductions even if we allow new receptors to be dynamically created by instantiation of arbitrary higher-order values and processes. We also show that our method is applicable to more general constraints, based on local and global channel capabilities.
منابع مشابه
O'Klaim: A Coordination Language with Mobile Mixins
This paper presents O’Klaim (Object-Oriented Klaim), a linguistic extension of the higher-order calculus for mobile processes Klaim with object-oriented features. Processes interact by an asynchronous communication model: they can distribute and retrieve resources, sometimes structured as incomplete classes, i.e., mixins, to and from distributed tuple spaces. This mechanism is coordinated by pr...
متن کاملGlobal/Local Subtyping and Capability Inference for a Distributed pi-calculus
This paper considers how locality restrictions on the use of capabilities can be enforced by a static type system. A distributed -calculus with a simple reduction semantics is introduced, integrating location and migration primitives from the Distributed Join Calculus with asynchronous communication. It is given a type system in which the input and output capabilities of channels may be either ...
متن کاملGlobal/local Subtyping and Capability Inference for a Distributed -calculus
This paper considers how locality restrictions on the use of capabilities can be enforced by a static type system. A distributed-calculus with a simple reduction semantics is introduced, integrating location and migration primitives from the Distributed Join Calculus with asynchronous communication. It is given a type system in which the input and output capabilities of channels may be either g...
متن کاملAssigning Types to Processes
In wide area distributed systems it is now common for higher-order code to be transferred from one domain to another; the receiving host may initialise parameters and then execute the code in its local environment. In this paper we propose a fine-grained typing system for a higher-order π-calculus which can be used to control the effect of such migrating code on local environments. Processes ma...
متن کاملSession-Based Communication Optimisation for Higher-Order Mobile Processes
In this paper we solve an open problem posed in our previous work on asynchronous subtyping [12], extending the method to higher-order session communication and functions. Our system provides two complementary methods for communication code optimisation, mobile code and asynchronous permutation of session actions, within processes that utilise structured, typed communications. In order to prove...
متن کامل